package com.ruoyi.quality.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题分类业务对象 defect_class
 *
 * @author ruoyi
 * @date 2023-08-05
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DefectClassBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Integer id;

    /**
     * 问题描述
     */
    @NotBlank(message = "问题描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;

    /**
     * 问题分类
     */
    @NotBlank(message = "问题分类不能为空", groups = { AddGroup.class, EditGroup.class })
    private String defectClass;

    /**
     * 状态
     */
    @NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
